/*
 * List.h
 *
 *  Created on: May 11, 2012
 *      Author: pleun
 */

#ifndef LIST_H_
#define LIST_H_

#include "Pipeline.h"
#include "Commandline.h"
#include <vector>
#include <iostream>

using namespace std;

class List {
private:
	vector<Pipeline*>*  pipelines;

public:
	List();
	virtual ~List();
	void addNewPipeline();
	Pipeline* getPipeline();
	void addNewCommandLineToPipeline();
	void addnewWordToCommandLine(string commandText);
	void executeAll();

};

#endif /* LIST_H_ */
